class CreateDownfiles < ActiveRecord::Migration
  def self.up
    create_table :downfiles do |t|
    t.column :parent_id , :integer
    t.column :name ,:string
    t.column :description , :string
    t.column :filename , :string
    t.column :download_id , :integer
      t.timestamps
    end
  end

  def self.down
    drop_table :downfiles
  end
end
